<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored="false" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/admin/role/edit/editText.css">
</head>
<body>
<div class="edit">
    <form action="/findAdmin/admin/submitFindContent" method="post" enctype="multipart/form-data">
        <div class="row">
            <div class="title">发现图片：</div>
            <div class="ipt">
                <input id="titleImg" type="file" accept=".image/gif,.png,.jpg" hidden name="file">
                <a href="javascript:;" class="choice">选择图片</a>
                <%--<a href="javascript:;" class="upload">开始上传</a>--%>
                <p class="tips">请上传960*480大小不超过1M的图片</p>
                <div class="showImg">
                    <img src="" alt="" class="img_view">
                </div>
            </div>
        </div>

        <div class="row">
            <div class="title">发现标题：</div>
            <div class="ipt">
                <input type="text" name="title" class="caption" placeholder="不超过30字" maxlength="30" required>
            </div>
        </div>
        <div class="row">
            <div class="title">发现内容：</div>
            <div class="ipt">
                <input type="text" name="tag" class="caption1" placeholder="不超过30字" maxlength="30" required>
            </div>
        </div>
        <span style="color: red; font-size: 14px">请使用微信公众号编辑器编辑，将永久链接复制到此处</span>
        <div class="row">
            <div class="title">文本链接：</div>
            <div class="ipt">
                <textarea type="text" name="url" class="caption1" required></textarea>
            </div>
        </div>
        <input type="submit" value="提交" class="submit">
    </form>
</div>
<div class="tips_div">

</div>
<script src="/admin/role/edit/jquery.js"></script>
<script src="/admin/role/edit/jquery-1.4.4.min.js"></script>
<script src="/admin/role/edit/editText.js"></script>
<script src="/admin/role/edit/xheditor-1.2.2.min.js"></script>
<script src="/admin/role/edit/zh-cn.js"></script>
</body>
</html>